package com.chinaunicom.structure.decorator;

/**
 * @author liry
 * @version 1.0
 * @date Created on 2022/7/28 16:09
 * Description:
 */
public class Client {
    public static void main(String[] args) {

        FriedNoodles friedNoodles = new FriedNoodles(12);

        Egg egg = new Egg(friedNoodles, 112.0f);
        Bacon bacon = new Bacon(egg, 200.4f);
        System.out.println(bacon.cost());
        
    }
}
